package com.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;
@Entity
@Table(name="tb_shiftrecord")
public class ShiftRecordBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6330574195335267951L;

	@Id
	@GenericGenerator(name = "idGenerator", strategy = "sequence", parameters = { @Parameter(name = "sequence", value = "SEQ_shiftrecord") })
	@GeneratedValue(generator = "idGenerator")
	private Long id;
	private String assets_number;		//资产编号
	private String accept_dept_name; 	//接收部门
	private String old_dept_name; 		//原部门
	private String shift_date;  		//转移时间
	private String shift_type;			//类型
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getAssets_number() {
		return assets_number;
	}
	public void setAssets_number(String assets_number) {
		this.assets_number = assets_number;
	}
	public String getAccept_dept_name() {
		return accept_dept_name;
	}
	public void setAccept_dept_name(String accept_dept_name) {
		this.accept_dept_name = accept_dept_name;
	}
	public String getOld_dept_name() {
		return old_dept_name;
	}
	public void setOld_dept_name(String old_dept_name) {
		this.old_dept_name = old_dept_name;
	}
	public String getShift_date() {
		return shift_date;
	}
	public void setShift_date(String shift_date) {
		this.shift_date = shift_date;
	}
	public String getShift_type() {
		return shift_type;
	}
	public void setShift_type(String shift_type) {
		this.shift_type = shift_type;
	}
	
	
	
//	private 
	

}
